package com.admin.service.vo;

import com.admin.persistence.sys.entity.Role;
import com.admin.persistence.sys.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUser {

    private User user;

    private List<Role> roles;


    @Override
    public String toString() {
        return "SysUser{" +
                "user=" + user.toString() +
                '}';
    }
}
